package com.tgy.myplus.基础学习.方法引用;

/***
 * @ClassName: LambdaT
 * @Description:
 * @Auther: 送一一块二向箔
 * @Date: 17:30 2022/1/12
 * @version : V1.0
 */
public class LambdaT {
    void say(){
        System.out.println("大家好我被执行了");
    }

    public static void main(String[] args) {
        new Thread(new LambdaT()::say).start();
    }

}
